package org.zk.dubbo_provider.dao;


import org.zk.entity.Broadcast;
import org.zk.entity.LessionBroadcast;

import java.util.List;

/**
 * <p>
 * 课节表 Mapper 接口
 * </p>
 *
 * @author Alicelonely
 * @since 2019-12-30
 */
public interface LessionBroadcastMapper{
    //添加单节直播
    int addLessionBroadcast(LessionBroadcast lessionBroadcast);

    //根据id查询课节
    List<LessionBroadcast> getBroadcastLessionById(int broadcastId);

    //删除该节直播
    int delBroadcastLessionById(LessionBroadcast lessionBroadcast);

    //更改直播章节（给直播章节添加视频）
    int updateLessionBroadcast(LessionBroadcast lessionBroadcast);

    LessionBroadcast getBroadcastLvideoById(int lessionBroadcastId);
}
